#include <stdio.h>
#include <time.h>
#include <stdlib.h>
int main()
{
	int arr[6] = {};
	int i = 0, j = 0, n = 0;
	printf("red:");
	srand(time(NULL));
	while(i < 6)
	{
		arr[i] = rand()%6+1;
		for(j = 0; j < i; j++)
		{
			if(arr[j] == arr[i])
				break;
		}
		
		if(i == j)
			i++;
	}
	for(i = 0; i < 6; i++)
	{
		printf("%d ",arr[i]);
	}
	printf("\n");
	n = rand()%15+1;
	printf("blue:%d",n);

	return 0;
}
